package patterndesign.compositepattern.version2;

import java.util.List;

public interface IBranch extends ICrop {
    /**
     * 能够增加小兵(树页节点)或者是经理(树枝节点)
     *
     * @param crop
     */
    public void addSubordinate(ICrop crop);

    /**
     * 获取下属信息
     * @return
     */
    public List<ICrop> getSubordinate();


}
